export const getSubTabInfo = (tabs, name) => {
  return tabs?.filter((item) => {
    return item.name === name;
  })?.[0];
};
